<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="id" />

		<?php
		$baseUrl = Yii::app()->request->baseUrl;
		$themeBaseUrl = Yii::app()->theme->baseUrl;
		$path = $themeBaseUrl . '/css/style.2.css';
		Yii::app()->clientScript->registerCssFile($path, 'screen');
		$path = $themeBaseUrl . '/css/really-simple-slideshow.css';
		Yii::app()->clientScript->registerCssFile($path, 'screen');
		?>

        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>

    <body>

		<div id="header">
			<div id="tribrata"></div>
			<div id="senkom"></div>
		</div>

        <div id="page">

			<div id="sidebar">

				<?php
				$this->widget('SlideshowWidget', array('name'=>'profile'));
//				$effects = Array(
//					'fade',
//					'slideUp',
//					'slideDown',
//					'slideLeft',
//					'slideRight'
//				);
				$options = array(
					'interval'=>3,
					'transition'=>500,
					'effect'=>'slideLeft',
//					'effect'=>array(
//						'effects'=>$effects,
//						'iteration'=>'random',
//					),
				);
				$properties = array('name'=>'activity', 'options'=>$options);
				$this->widget('SlideshowWidget', $properties);
				?>
				
				<div id="sponsor">
					<a 
						<img src="<?php echo $baseUrl ?>/images/sponsor.png" />
					</a>
				</div>
				
			</div><!-- sidebar -->

			<div id="content">
				<?php echo $content; ?>
			</div>
			
			

        </div><!-- page -->

    </body>

</html>
